package com.wp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wp.dao.UserDao;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: WangPeng
 * @createTime: 2023/01/03 11:22
 * @description:
 * @version: v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
public class MyUser {
    @TableId(type = IdType.AUTO,value = "userid")
    private Integer userId;

    private String username;

    @TableField(value = "userpwd")
    private String userPassword;

    private String sex;

    private String address;

}
